using Admin.NET.Core;

namespace Admin.NET.Application;

public class WarningRuleInput : BasePageInput
{
	/// <summary>
	/// 规则名称
	/// </summary>
	public virtual string Name { get; set; }

	/// <summary>
	/// 描述
	/// </summary>
	public virtual string Description { get; set; }

	/// <summary>
	/// 首次预警余额阈值
	/// </summary>
	public virtual decimal? FirstThreshold { get; set; }

	/// <summary>
	/// 第二次预警余额阈值
	/// </summary>
	public virtual decimal? SecondThreshold { get; set; }

	/// <summary>
	/// 最后一次预警余额阈值
	/// </summary>
	public virtual decimal? LastThreshold { get; set; }

	/// <summary>
	/// 允许透支余额，超过透支额度，则自动拉闸，0：不允许透支，&gt;0：允许透支，且超过透支额度后拉闸，null：无限透支且不拉闸
	/// </summary>
	public virtual decimal? AllowOverdrawLimit { get; set; }
}
